<!DOCTYPE html>
<html th:replace="layout/layout"
      xmlns:th="http://www.thymeleaf.org">
<title th:fragment="titleName">首页</title>
<style th:fragment="styles">
    #chartDiv, #container {
        height: 320px;
        width: 100%;
        overflow: hidden;
    }

</style>
<div th:fragment="content">

    <div class="wrapper wrapper-content">

        <div class="row  border-bottom white-bg dashboard-header">
            <div class="row">
                <div class="col-lg-6" id="newsusers">
                    <div class="panel panel-info">
                        <div class="panel-heading">
                            <i class="fa fa-info-circle"></i> 推送消息列表
                            <a style="float: right;color: white" href="/newsUsers/index">更多>></a>
                        </div>

                        <div class="panel-body">
                            <div class="jqGrid_wrapper">
                                <table class="table table-striped table-bordered table-hover " id="tableList3">
                                </table>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-6" id="noticeUsers">
                    <div class="panel panel-info">
                        <div class="panel-heading">
                            <i class="fa fa-info-circle"></i> 通知公告列表
                            <a style="float: right;color: white" href="/noticeUsers/index">更多>></a>
                        </div>

                        <div class="panel-body">
                            <div class="jqGrid_wrapper">
                                <table class="table table-striped table-bordered table-hover " id="tableList4">
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="col-lg-12" id="harmlessReportTransport">
                    <div class="panel panel-info">
                        <div class="panel-heading">
                            <i class="fa fa-info-circle"></i> 待运输提醒

                        </div>

                        <div class="panel-body">
                            <div class="jqGrid_wrapper">
                                <table class="table table-striped table-bordered table-hover " id="tableList">

                                </table>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-lg-12" id="harmlessReportPending">
                    <div class="panel panel-info">
                        <div class="panel-heading">
                            <i class="fa fa-info-circle"></i> 待处理提醒

                        </div>

                        <div class="panel-body">
                            <div class="jqGrid_wrapper">
                                <table class="table table-striped table-bordered table-hover " id="tableList1">

                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- 运输模态框 -->
    <div class="modal inmodal" id="myModalAdd" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog  modal-lg">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title">运输记录</h4>
                </div>
                <div class="modal-body">
                    <!--@*模态框body*@-->
                    <div class="tabs-container">

                        <form class="form-horizontal" id="myform">
                            <div class="panel-body form-horizontal">

                                <div class="row">
                                    <label class="col-lg-2 control-label">上报日期：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="createTime"
                                                   id="createTime"
                                                   placeholder="病死畜禽数量" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">病死畜禽数量：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="dead" id="dead"
                                                   placeholder="病死畜禽数量" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">病死畜禽种类：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="animal" id="animal"
                                                   placeholder="病死畜禽种类" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">病死畜禽来源：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="enterpriseName" id="enterpriseName"
                                                   placeholder="病死畜禽来源" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label"><font color="red">*</font>承运人：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="driver" name="driver"
                                                   placeholder="承运人" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label"><font color="red">*</font>承运人车牌号：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" name="car" id="car"
                                                   placeholder="承运人车牌号" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label"><font color="red">*</font>承运人联系电话：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" id="phone" name="phone"
                                                   placeholder="承运人联系电话" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>

                    <!--模态框body结束-->
                </div>
                <div class="modal-footer">
                    <button type="button" id="save" name="save" class="btn btn-success" onclick="saveRecord();"><i
                            class="fa fa-save"></i>&nbsp;提交
                    </button>
                    <button type="button" id="close" name="close" class="btn btn-danger" data-dismiss="modal"><i
                            class="fa fa-close"></i>&nbsp;关 闭
                    </button>
                </div>
            </div>
        </div>
    </div>
    <!-- 运输模态框结束 -->
    
    <!--  处理模态框  -->
    <div class="modal inmodal" id="myModalAdd1" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title">无害化处理</h4>
                </div>
                <div class="modal-body">
                    <!--@*模态框body*@-->
                    <div class="tabs-container">
                        <form class="form-horizontal" id="myform1">
                            <div class="panel-body form-horizontal">

                                <div class="row">
                                    <label class="col-lg-2 control-label">上报日期：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="createTime" id="createTime1"
                                                   placeholder="上报日期" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">病死畜禽数量：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="dead" id="dead1"
                                                   placeholder="病死畜禽数量" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">病死畜禽种类：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="animal1" name="animal"
                                                   placeholder="病死畜禽种类" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">死亡原因：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="cause" id="cause"
                                                   placeholder="死亡原因" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">承运人姓名：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="driver" id="driver1"
                                                   placeholder="承运人姓名" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">车牌号：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="car" id="car1"
                                                   placeholder="车牌号" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">联系电话：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" name="phone" id="phone1"
                                                   placeholder="联系电话" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label"><font color="red">*</font>处理方式：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <select id="method" autocomplete="off" class="form-control">
                                                <option value="0">焚烧</option>
                                                <option value="1">深埋</option>
                                                <option value="2">化制</option>
                                                <option value="3">集中无害化处理</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label"><font style="color: red">*</font>负责处理人员：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input type="text" name="person" id="person"
                                                   placeholder="负责处理人员" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">处理照片：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <img onclick="$('#uploadImages').click()" id="showImage" src="" style="display: none" class="img-responsive">
                                            <input accept=".png,.jpg" type="file" onchange="ImportImages()" id="uploadImages" name="uploadImages" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <!--模态框body结束-->
                </div>
                <div class="modal-footer">
                    <button type="button" id="save1" name="save" class="btn btn-success" onclick="saveRecord1();"><i
                            class="fa fa-save"></i>&nbsp;提交
                    </button>
                    <button type="button" id="close1" name="close" class="btn btn-danger" data-dismiss="modal"><i
                            class="fa fa-close"></i>&nbsp;关 闭
                    </button>
                </div>
            </div>
        </div>
    </div>
    <!--  处理模态框结束  -->

    <!-- 查看公告模态框 -->
    <div class="modal inmodal" id="myModalView" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog  modal-lg">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title" id="title"></h4>
                    <span id="publisher"></span>
                    <span id="publisheTime"></span>
                </div>
                <div class="modal-body">
                    <!--@*模态框body*@-->
                    <div class="tabs-container">
                        <div id="myContent"></div>
                    </div>

                    <!--模态框body结束-->
                </div>
                <div class="modal-footer">
                    <div class="row" id="showEnclosure" hidden>
                        <!--@*模态框body*@-->
                        <a download="" href="" style="float: left" id="downEnclosure">下载附件</a>
                        <!--模态框body结束-->
                    </div>
                    <button type="button" name="close" class="btn btn-danger" data-dismiss="modal"><i
                            class="fa fa-close"></i>&nbsp;关 闭
                    </button>
                </div>
            </div>
        </div>
    </div>
    <!-- 查看公告模态框结束 -->

    <!-- 推送消息模态框 -->
    <div class="modal inmodal" id="myModalView1" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog  modal-lg">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title" id="title1"></h4>
                    <span id="publisher1"></span>
                    <span id="publisheTime1"></span>
                </div>
                <div class="modal-body">
                    <!--@*模态框body*@-->
                    <div class="tabs-container">
                        <div id="myContent1"></div>
                    </div>

                    <!--模态框body结束-->
                </div>
                <div class="modal-footer">
                    <button type="button"  name="close" class="btn btn-danger" data-dismiss="modal"><i
                            class="fa fa-close"></i>&nbsp;关 闭
                    </button>
                </div>
            </div>
        </div>
    </div>
    <!-- 推送消息模态框结束 -->
    
    <!-- 待运输详情 -->
    <div class="modal inmodal" id="myModalAdd3" tabindex="-1" role="dialog" aria-hidden="true">
        <div class="modal-dialog modal-lg">
            <div class="modal-content animated bounceInRight">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title">无害化处理详情</h4>
                </div>
                <div class="modal-body">
                    <!--@*模态框body*@-->

                    <div class="tabs-container">

                        <form class="form-horizontal" id="myform3">
                            <div class="panel-body form-horizontal">

                                <div class="row">
                                    <label class="col-lg-2 control-label">上报人：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="user" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">上报日期：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="createTime2" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">上报企业：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="enterpriseName2" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">企业法人：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="userName" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">企业地址：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="detailedAddress" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">联系电话：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="ephone" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">病死畜禽种类：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="animal2" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                    <label class="col-lg-2 control-label">病死畜禽数量：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="dead2" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <label class="col-lg-2 control-label">死亡原因：</label>
                                    <div class="col-lg-4">
                                        <div class="form-group">
                                            <input readonly type="text" id="cause2" autocomplete="off" class="form-control">
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <!--模态框body结束-->
                </div>
            </div>
        </div>
    </div>
    <!-- 待运输详情结束 -->
</div>
<div th:fragment="scriptRef">
    <script th:src="@{/static/js/lib/inspinia/js/plugins/laydate/laydate.js}"></script>
    <!--表单验证-->
    <script th:src="@{/js/lib/validate/jquery.validate.min.js}"></script>
    <script th:src="@{/static/js/home/home5.js}"></script>
    <script th:src="@{/static/js/lib/echart/echarts.min.js}"></script>
    <!-- 文件上传 -->
    <script th:src="@{/js/Scripts/ajaxfileupload.js}"></script>
</div>
<script th:fragment="scripts" type="text/javascript">
    Home5.init();
    //画柱状图
    //   Maps("line", myChart, '{value}');
</script>
</html>